fix preparing shaders the first descendant